package po.record;

/**
 * 文档等级
 * @author admin
 *
 */
public class DocumentLevel {
	private int levelId;
	private String levelName;
	private boolean deleteFlag;
	public DocumentLevel() {
		super();
	}
	public DocumentLevel(int levelId, String levelName, boolean deleteFlag) {
		super();
		this.levelId = levelId;
		this.levelName = levelName;
		this.deleteFlag = deleteFlag;
	}
	public int getLevelId() {
		return levelId;
	}
	public void setLevelId(int levelId) {
		this.levelId = levelId;
	}
	public String getLevelName() {
		return levelName;
	}
	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}
	public boolean isDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@Override
	public String toString() {
		return "DocumentLevel [levelId=" + levelId + ", levelName=" + levelName + ", deleteFlag=" + deleteFlag + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + levelId;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DocumentLevel other = (DocumentLevel) obj;
		if (levelId != other.levelId)
			return false;
		return true;
	}

	
	
}
